//
//  QryOnlineMoviesRequest.m
//  EasyToo
//
//  Created by zhengzhe on 13-8-25.
//
//

#import "QryOnlineMoviesRequest.h"

@implementation QryOnlineMoviesRequest

- (id)initQryOnlineMovies:(id<ServerCommunicationDelegate>)delegate
               foretellId:(NSString*)foretellId
                   hallId:(NSString*)hallId
                 cinemaId:(NSString*)cinemaId
{
    self = [super init];
    if (self) {
        self.delegate = delegate;
        
        self.requestName = @"QryOnlineMoviesResponse";
        
        [self.headerJsonDict setObject:@"018005" forKey:@"TranCode"];

        [self.bodyJsonDict setObject:foretellId forKey:@"foretellId"];
        [self.bodyJsonDict setObject:hallId forKey:@"hallId"];
        [self.bodyJsonDict setObject:cinemaId forKey:@"cinemaId"];
        
        [self buildJsonRequest];
    }
    return self;
}


@end
